import Vue from 'vue';
import App from './app.vue';
import ElementUI from 'element-ui';
import VueRouter from 'vue-router';
import 'element-ui/lib/theme-default/index.css';
import './assets/main.css';
import Navigation from './components/navigation';

Vue.use(ElementUI);
Vue.use(VueRouter);

new Vue({
    el: '#app',
    router: new VueRouter({
        routes: Navigation.router
    }),
    components : {
        ElementUI
    },
    render: h => h(App)
});
